function [out] = param_fastrax

% SYNTAX:
%   [out] = param_fastrax
%
% OUTPUT:
%   out = data vector
%
% DESCRIPTION:
%   Read Fastrax receiver informations.

%--- * --. --- --. .--. ... * ---------------------------------------------
%               ___ ___ ___
%     __ _ ___ / __| _ | __
%    / _` / _ \ (_ |  _|__ \
%    \__, \___/\___|_| |___/
%    |___/                    v 0.5.2 beta 1
%
%--------------------------------------------------------------------------
%  Copyright (C) 2009-2017 Mirko Reguzzoni, Eugenio Realini
%  Written by:
%  Contributors:     Ivan Reguzzoni, ...
%  A list of all the historical goGPS contributors is in CREDITS.nfo
%--------------------------------------------------------------------------
%
%   This program is free software: you can redistribute it and/or modify
%   it under the terms of the GNU General Public License as published by
%   the Free Software Foundation, either version 3 of the License, or
%   (at your option) any later version.
%
%   This program is distributed in the hope that it will be useful,
%   but WITHOUT ANY WARRANTY; without even the implied warranty of
%   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
%   GNU General Public License for more details.
%
%   You should have received a copy of the GNU General Public License
%   along with this program.  If not, see <http://www.gnu.org/licenses/>.
%
%--------------------------------------------------------------------------
% 01100111 01101111 01000111 01010000 01010011
%--------------------------------------------------------------------------

% inizialization
out = cell(6,2);

% String Name
Str_name = 'FTX';
%Str_name = 'Fastrax';

% BaudRate - Serial
BaudRate = 115200;

% Buffer size - USB
Buffer_size = 92050;

% Minimun number of bytes used to synchronize data
Min_bytes = 1000;

% String name in decoding phase (NA = Not Available)
TimeRaw_id = 'PSEUDO';  % message with both timing and observations
Eph_id     = 'FTX-EPH'; % message with ephemeris
Hui_id     = 'FTX-HUI'; % message with ionosphere parameters
Time_id    = 'NA';      % message with timing
Raw_id     = 'NA';      % message with observations
Track_id   = 'TRACK';   % message with tracking data

out(1,1) = {Str_name};
out(2,1) = {BaudRate};
out(3,1) = {Buffer_size};
out(4,1) = {Min_bytes};

out(1,2) = {TimeRaw_id};
out(2,2) = {Eph_id};
out(3,2) = {Hui_id};
out(4,2) = {Time_id};
out(5,2) = {Raw_id};
out(6,2) = {Track_id};
